package view.WelcomePanels;

import controller.AccountController;
import dto.WelcomeDTO;
import view.WelcomeFrame;
import view.WelcomePanels.SubPanels.BackButtonPanelEmpty;
import view.WelcomePanels.SubPanels.MainButtonPanels.LoginButtonPanel;
import view.WelcomePanels.SubPanels.FormPanels.LoginFormPanel;

/**
 *
 * @author Joachim
 */
public class LoginPanel extends AbstractWelcomePanel {
    
    public LoginPanel(WelcomeDTO dto, AccountController controller, WelcomeFrame frame) {
        super(dto, controller, frame);
    }

    @Override
    protected void initComponents() {
        super.pnlWest = new BackButtonPanelEmpty();
        super.pnlCenter = new LoginFormPanel(dto, controller, frame);
        super.pnlSouth = new LoginButtonPanel(dto, controller, frame);
    }
    
}
